package com.atguigu.gmall.seckill.mapper;

import com.atguigu.gmall.seckill.entity.SeckillGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author weiranyi
* @description 针对表【seckill_goods】的数据库操作Mapper
* @createDate 2022-12-26 09:23:50
* @Entity com.atguigu.gmall.seckill.entity.SeckillGoods
*/
public interface SeckillGoodsMapper extends BaseMapper<SeckillGoods> {

    List<SeckillGoods> getTodaySeckillGoods(@Param("date") String date);

    boolean updateStockDecrOne(Long id);
}




